from django.contrib import admin

from .models import Category, Tag, Article, Comment


@admin.register(Article)
class ArticleAdmin(admin.ModelAdmin):
    list_display = ['title', 'created_time', 'modified_time', 'category', 'author']


# admin.site.register(Article, ArticleAdmin)

admin.site.register([Category, Tag, Comment])

from django.contrib.auth.admin import UserAdmin
